import React from 'react';
import {inject, observer} from 'mobx-react';
import { withRouter, Switch ,Redirect} from 'react-router-dom';


@withRouter
@inject('calendarStore')
@observer
export default class RouteModal extends React.Component {
  render() {
    return (
      <div className='route-bgcolor'>
        <Switch>
          <Redirect  exact to={{pathname: '/create'}} />
        </Switch>
      </div>
    )
  }
}